<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>详情</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
		function anjian(di,iid){
			window.open(di+'/ta/anJianXinXi?iid='+iid);
		}
		function xiang(){
			$("#xiang").css("display","block");
			$("#liu").css("display","none");
			$("ul li:eq(0)").attr("class","active");
			$("ul li:eq(1)").attr("class","");
		}
		function liu(){
			$("#xiang").css("display","none");
			$("#liu").css("display","block");
			$("ul li:eq(0)").attr("class","");
			$("ul li:eq(1)").attr("class","active");
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="javascript:xiang();">详细信息</a></li>
		<li><a href="javascript:liu();">流程明细</a></li>
		<li class="active"><input id="btnCancel" onclick="anjian('${ctx}','${iid}')" class="btn" type="button" value="案件信息" /></li>
		<li class="active"><input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)" /></li>
	</ul>

	<div id="xiang">
		<table id="contentTable" class="table table-striped table-bordered table-condensed">
			<thead>
				<tr>
					<th>编号</th>
					<th>所在岗位</th>
					<th>经办人</th>
					<th>接件时间</th>
					<th>提交时间</th>
					<th>办理时间</th>
					<th>最大时限</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${xq}" var="xq">
					<tr>
						<td>${xq.编号}</td>
						<td>${xq.岗位}</td>
						<td>${xq.经办人}</td>
						<td>
							<fmt:formatDate value="${xq.接收时间}" pattern="yyyy-MM-dd" />
						</td>
						<td>
							<fmt:formatDate value="${xq.提交时间}" pattern="yyyy-MM-dd" />
						</td>
						<td>${xq.办理时间}</td>
						<td>${xq.最大时限}</td>
					</tr>
				</c:forEach>
	
			</tbody>
		</table>
	</div>
	<div id="liu" style="display: none;">
		<iframe src="${pathss}" width="100%" height="500px" scrolling="no" frameborder="0"></iframe>
	</div>
</body>
</html>